package com.project.service;

import com.project.bean.ProductBean;

import java.time.LocalDate;
import java.util.List;

public interface IProductService {
    public void add(ProductBean productBean);

    public void del(Integer id);

    public void update(Integer id, Integer price);

    public List<ProductBean> findAll();

    public ProductBean findById(Integer id);

    public List<ProductBean> findByItem(String name, LocalDate startDat, LocalDate endDate);
}
